package com.render.gui;
import java.awt.Color;
import java.awt.Graphics2D;

import base.render.gui.Gui;

public class GuiMenu extends Gui
{
	public GuiMenu(int par1, int par2)
	{
		super(par1, par2, 0F);
		this.setTickSpeed(3);
	}
	
	public void onTickUpdate()
	{
		super.onTickUpdate();
		this.getWorldObj().livingCreate(new GuiStreak(-240, this.rand.nextInt(getWindowHeight()), 0F));
	}
	
	public void onRender(Graphics2D par1Graphics)
	{
		super.onRender(par1Graphics);
		par1Graphics.setColor(Color.GRAY);
		par1Graphics.fillRect(this.x - 60, this.y - 45, 112, 155);
	}
	
	public boolean isDead()
	{
		return false;
	}
}
